//
//  ViewController.m
//  阿瓦达无
//
//  Created by apple on 2017/9/2.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)clickButtonAction:(id)sender {
    NSURL *url = [[NSBundle mainBundle] URLForResource:@"test.html" withExtension:nil];
    
    NSURLRequest  *req = [NSURLRequest requestWithURL:url];
    
    [self.webView loadRequest:req];
    
}


@end
